package com.inool.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.inool.model.Student;

import java.util.Date;
import java.util.List;

public interface StudentService extends IService<Student> {
    Student addStudent(Student student);

    Student updateStudent(String id, Student student);

    void deleteStudent(String id);

    Student getStudentById(String id);

    List<Student> getAllStudents();

    Page<Student> pageStudent(long current, long size,
                              String studentNumber, String name, String title,
                              Date startTime, Date endTime);
}    